package com.sz.bi.entity

import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_MBG_BGDATAENTRY")
data class TMbgBgDataEntry(

        @Id
        @Column(name = "FID")
        val fid: String? = null,

        @Column(name = "FBGFORMID")
        val fbgformid: String? = null,

        @Column(name = "FBGDATAID")
        val fbgdataid: String? = null
)

@Repository
interface TMbgBgDateEntryRepo : CrudRepository<TMbgBgDataEntry, String>, JpaSpecificationExecutor<TMbgBgDataEntry>